﻿// LaserPlane
// Object representing a laser plane in Hesse normal form
// 
// FLMScan - Featured by FabLab Munich

using System;
using FLMScan.Geometry;
using FLMScan.Parameters;

namespace FLMScan.WorldCoordinateReconstruction.Riedmaier
{
    class LaserPlane
    {
        private double a;
        private double b;
        private double c;
        private double d;                

        public LaserPlane(FlmPlane plane)
        {            
            a = plane.A;
            b = plane.B;
            c = plane.C;
            d = plane.D;
        }

        public LaserPlane(LaserPlaneParameters parameters)
        {
            a = parameters.ParameterA;
            b = parameters.ParameterB;
            c = parameters.ParameterC;
            d = parameters.ParameterD;
        }

        public double A
        {
            get { return a; }
            set { a = value; }
        }

        public double B
        {
            get { return b; }
            set { b = value; }
        }

        public double C
        {
            get { return c; }
            set { c = value; }
        }

        public double D
        {
            get { return d; }
            set { d = value; }
        }

        
    }
}
